#!/usr/bin/env python2.6

from __future__ import division
from visual import *
import time

MAX_FPS = 50
DELTA_T = 1 / MAX_FPS

if __name__ == '__main__':
    print 'hello'
    redbox = box(pos=vector(4,2,3), size=(8,4,6), color=color.red)
    ball = sphere(pos=vector(4,7,3), radius=2, color=color.green)

    t = 0
    while True:
        rate(MAX_FPS)
        ball.pos.x = 15 * cos(3 * t)
        ball.pos.y = 3 * sin(3 * t)
        t += DELTA_T

